"""
@Filename:  xlsx/setting.py
@Author:  liukai
@Time:  2022/12/6 0006  13:30
"""
from iniconfig import IniConfig


def load_ini(path):
    ini = IniConfig(path)
    print(ini)
    print(ini['uitest'])
    print(ini['uitest'].get("driver_type"))


    return ini

se = load_ini('pytest.ini')

if __name__ == '__main__':
    print(se)